import React, { useEffect } from 'react'

export default function Test() {
  useEffect(() => {
    console.log('Test挂载了/更新了')
    return () => {
      console.log('Test卸载了')
    }
  })
  return <div>Test</div>
}
